.fitness-advert{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    .title{
        width: 100%;
        height: 44px;
       /*  background-color: #101010 ; */
       text-align: center;
       line-height: 44px;
    }
    .main{
        flex-grow: 1;
      background-image: url(../imgs/advertisement-bg.jpg);
      background-repeat: no-repeat;
      /* 增加背景尺寸和居中 */
       background-size: 1000px; 
      background-position: center;
      position: relative;
      display: flex;
    }
    .time{
width: 105px;
line-height: 40px;
position: absolute;
top: 10px;
background-color: white;
border-radius: 20px;
text-align: center;
position: absolute;
top: 29px;
right: 15px;
    }
    .title2{
        font-weight: bold;
        position: absolute;
        bottom: 104px;
       text-align: center;
     width: 100%;
      /* opacity透明度1就是出现 */
      /* 调用动画 */
    /*  animation: wei 2s;  */ 
    }
   
}

/* 定义动画 */
@keyframes wei{
    0%{
        font-size:0px;
        opacity:0 ;
        transform: translateY(-180px);
    }20%{
        font-size: 16px;
        opacity: .3;
        transform: translateY(-220px);
    }70%{
        font-size: 30px;
        opacity: .5;
        transform: translateY(50px);
    }100%{
        font-size: 48px;
        opacity: 1;
        transform: translateY(0px);
    }
}